aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/srp/srp_vfy.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-02-03 11:20:56 -0500
committerRich Salz <rsalz@openssl.org>2015-02-03 11:20:56 -0500
commitdfb56425b68314b2b57e17c82c1df42e7a015132 (patch)
tree0f727a8bfd00e1ca5bccc77cc0f25ef27f911f0f /crypto/srp/srp_vfy.c
parent156a872233b56558c72561789b8f33ff71a88fa7 (diff)
downloadopenssl-dfb56425b68314b2b57e17c82c1df42e7a015132.tar.gz
Dead code: crypto/dh,modes,pkcs12,ripemd,rsa,srp
And an uncompiled C++ test file. Also remove srp_lcl.h, with help from Richard. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/srp/srp_vfy.c')
-rw-r--r--crypto/srp/srp_vfy.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/srp/srp_vfy.c b/crypto/srp/srp_vfy.c
index df82ca3830..4aed5b4ba5 100644
--- a/crypto/srp/srp_vfy.c
+++ b/crypto/srp/srp_vfy.c
@@ -59,7 +59,7 @@
*/
#ifndef OPENSSL_NO_SRP
# include "cryptlib.h"
-# include "srp_lcl.h"
+# include <openssl/sha.h>
# include <openssl/srp.h>
# include <openssl/evp.h>
# include <openssl/buffer.h>
@@ -607,9 +607,6 @@ int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt,
(verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL))
goto err;
- srp_bn_print(N);
- srp_bn_print(g);
-
if (*salt == NULL) {
RAND_pseudo_bytes(tmp2, SRP_RANDOM_SALT_LEN);
@@ -627,8 +624,6 @@ int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt,
goto err;
}
- srp_bn_print(*verifier);
-
result = 1;
err: