Blame SOURCES/openssl-pkcs11-0.4.8-allow-use-privkey-without-pin.patch

b4c227
diff --git a/src/eng_back.c b/src/eng_back.c
b4c227
index 464c47b..fb94934 100644
b4c227
--- a/src/eng_back.c
b4c227
+++ b/src/eng_back.c
b4c227
@@ -750,10 +750,6 @@ static EVP_PKEY *ctx_load_key(ENGINE_CTX *ctx, const char *s_slot_key_id,
b4c227
 	 * with some other (which ones?) PKCS#11 libraries */
b4c227
 	if (!tok->initialized)
b4c227
 		ctx_log(ctx, 0, "Found uninitialized token\n");
b4c227
-	if (isPrivate && !tok->userPinSet && !tok->readOnly) {
b4c227
-		ctx_log(ctx, 0, "Found slot without user PIN\n");
b4c227
-		goto error;
b4c227
-	}
b4c227
 
b4c227
 	ctx_log(ctx, 1, "Found slot:  %s\n", slot->description);
b4c227
 	ctx_log(ctx, 1, "Found token: %s\n", slot->token->label);
b4c227
-- 
b4c227
2.17.1
b4c227