diff options
author | 2014-04-23 22:26:25 +0000 | |
---|---|---|
committer | 2014-04-23 22:26:25 +0000 | |
commit | d9cb48f882a31ae39da17bf8b2fe278c00f07c93 (patch) | |
tree | ac8cb3d43f14fc6b97118b1ac89453a157938d8c /lib/libssl/src/crypto | |
parent | ain't nobody got time for hpux (diff) | |
download | wireguard-openbsd-d9cb48f882a31ae39da17bf8b2fe278c00f07c93.tar.xz wireguard-openbsd-d9cb48f882a31ae39da17bf8b2fe278c00f07c93.zip |
Unifdef -UPKCS1_CHECK and remove SSL_OP_PKCS1_CHECK_[12], this is leftover
``debug'' code from a 15+ years old bugfix and the SSL_OP_PKCS1_CHECK_*
constants have had a value of zero since ages. No production code should use
them.
ok beck@
Diffstat (limited to 'lib/libssl/src/crypto')
-rw-r--r-- | lib/libssl/src/crypto/rsa/rsa_pk1.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/rsa/rsa_pk1.c b/lib/libssl/src/crypto/rsa/rsa_pk1.c index 8560755f1d1..9eabb4fc92e 100644 --- a/lib/libssl/src/crypto/rsa/rsa_pk1.c +++ b/lib/libssl/src/crypto/rsa/rsa_pk1.c @@ -190,9 +190,6 @@ int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2,RSA_R_BLOCK_TYPE_IS_NOT_02); return(-1); } -#ifdef PKCS1_CHECK - return(num-11); -#endif /* scan over padding data */ j=flen-1; /* one for type. */ |