Skip to content

Commit 2a5ae3c

Browse files
committed
ossl_pem_passwd_cb: do not check for taintedness
It is perfectly permissible to take passwords from an untrusted source.
1 parent a896c3d commit 2a5ae3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/ossl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ ossl_pem_passwd_cb0(VALUE flag)
151151
VALUE pass;
152152

153153
pass = rb_yield(flag);
154-
SafeStringValue(pass);
154+
StringValue(pass);
155155

156156
return pass;
157157
}

0 commit comments

Comments
 (0)