Loading CHANGES +4 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,10 @@ Changes between 0.9.7c and 0.9.8 [xx XXX xxxx] *) Ensure that deprecated functions do not get compiled when OPENSSL_NO_DEPRECATED is defined. [Geoff Thorpe] *) Reorganise PKCS#7 code to separate the digest location functionality into PKCS7_find_digest(), digest addtion into PKCS7_bio_add_digest(). New function PKCS7_set_digest() to set the digest type for PKCS#7 Loading crypto/bn/bn_depr.c +6 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,9 @@ #include "bn_lcl.h" #include <openssl/rand.h> static void *dummy=&dummy; #ifndef OPENSSL_NO_DEPRECATED BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback)(int,int,void *), void *cb_arg) Loading @@ -78,6 +81,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, } else rnd=ret; bn_verify(rnd); if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) goto err; Loading @@ -85,6 +89,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, found = 1; err: if (!found && (ret == NULL) && (rnd != NULL)) BN_free(rnd); if(found) bn_verify(rnd); return(found ? rnd : NULL); } Loading @@ -106,3 +111,4 @@ int BN_is_prime_fasttest(const BIGNUM *a, int checks, return BN_is_prime_fasttest_ex(a, checks, ctx_passed, do_trial_division, &cb); } #endif crypto/dh/dh_depr.c +4 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,9 @@ #include <openssl/bn.h> #include <openssl/dh.h> static void *dummy=&dummy; #ifndef OPENSSL_NO_DEPRECATED DH *DH_generate_parameters(int prime_len, int generator, void (*callback)(int,int,void *), void *cb_arg) { Loading @@ -77,3 +80,4 @@ DH *DH_generate_parameters(int prime_len, int generator, DH_free(ret); return NULL; } #endif crypto/dsa/dsa_depr.c +4 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,8 @@ #define HASH EVP_sha1() #endif static void *dummy=&dummy; #ifndef OPENSSL_NO_SHA #include <stdio.h> Loading @@ -80,6 +82,7 @@ #include <openssl/rand.h> #include <openssl/sha.h> #ifndef OPENSSL_NO_DEPRECATED DSA *DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len, int *counter_ret, unsigned long *h_ret, Loading @@ -100,3 +103,4 @@ DSA *DSA_generate_parameters(int bits, return NULL; } #endif #endif crypto/rsa/rsa_depr.c +4 −1 Original line number Diff line number Diff line Loading @@ -62,6 +62,9 @@ #include <openssl/bn.h> #include <openssl/rsa.h> static void *dummy=&dummy; #ifndef OPENSSL_NO_DEPRECATED RSA *RSA_generate_key(int bits, unsigned long e_value, void (*callback)(int,int,void *), void *cb_arg) { Loading @@ -78,4 +81,4 @@ RSA *RSA_generate_key(int bits, unsigned long e_value, RSA_free(rsa); return 0; } #endif Loading
CHANGES +4 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,10 @@ Changes between 0.9.7c and 0.9.8 [xx XXX xxxx] *) Ensure that deprecated functions do not get compiled when OPENSSL_NO_DEPRECATED is defined. [Geoff Thorpe] *) Reorganise PKCS#7 code to separate the digest location functionality into PKCS7_find_digest(), digest addtion into PKCS7_bio_add_digest(). New function PKCS7_set_digest() to set the digest type for PKCS#7 Loading
crypto/bn/bn_depr.c +6 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,9 @@ #include "bn_lcl.h" #include <openssl/rand.h> static void *dummy=&dummy; #ifndef OPENSSL_NO_DEPRECATED BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback)(int,int,void *), void *cb_arg) Loading @@ -78,6 +81,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, } else rnd=ret; bn_verify(rnd); if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) goto err; Loading @@ -85,6 +89,7 @@ BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, found = 1; err: if (!found && (ret == NULL) && (rnd != NULL)) BN_free(rnd); if(found) bn_verify(rnd); return(found ? rnd : NULL); } Loading @@ -106,3 +111,4 @@ int BN_is_prime_fasttest(const BIGNUM *a, int checks, return BN_is_prime_fasttest_ex(a, checks, ctx_passed, do_trial_division, &cb); } #endif
crypto/dh/dh_depr.c +4 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,9 @@ #include <openssl/bn.h> #include <openssl/dh.h> static void *dummy=&dummy; #ifndef OPENSSL_NO_DEPRECATED DH *DH_generate_parameters(int prime_len, int generator, void (*callback)(int,int,void *), void *cb_arg) { Loading @@ -77,3 +80,4 @@ DH *DH_generate_parameters(int prime_len, int generator, DH_free(ret); return NULL; } #endif
crypto/dsa/dsa_depr.c +4 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,8 @@ #define HASH EVP_sha1() #endif static void *dummy=&dummy; #ifndef OPENSSL_NO_SHA #include <stdio.h> Loading @@ -80,6 +82,7 @@ #include <openssl/rand.h> #include <openssl/sha.h> #ifndef OPENSSL_NO_DEPRECATED DSA *DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len, int *counter_ret, unsigned long *h_ret, Loading @@ -100,3 +103,4 @@ DSA *DSA_generate_parameters(int bits, return NULL; } #endif #endif
crypto/rsa/rsa_depr.c +4 −1 Original line number Diff line number Diff line Loading @@ -62,6 +62,9 @@ #include <openssl/bn.h> #include <openssl/rsa.h> static void *dummy=&dummy; #ifndef OPENSSL_NO_DEPRECATED RSA *RSA_generate_key(int bits, unsigned long e_value, void (*callback)(int,int,void *), void *cb_arg) { Loading @@ -78,4 +81,4 @@ RSA *RSA_generate_key(int bits, unsigned long e_value, RSA_free(rsa); return 0; } #endif