diff options
author | Rich Salz <rsalz@openssl.org> | 2015-04-30 18:10:52 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-04-30 18:10:52 -0400 |
commit | 895cba195a0c8430dcc8d1aa22b75eccaaee8f49 (patch) | |
tree | 198a8361064426dbc73c52143123835dfc8017a2 /include | |
parent | b0696f8b0b6e9a837e0abe4d79a8219e287c9036 (diff) | |
download | openssl-895cba195a0c8430dcc8d1aa22b75eccaaee8f49.tar.gz |
free cleanup 12
Don't check for NULL before calling free function. This gets:
NAME_CONSTRAINTS_free GENERAL_SUBTREE_free ECDSA_METHOD_free
JPAKE_CTX_free OCSP_REQ_CTX_free SCT_free SRP_VBASE_free
SRP_gN_free SRP_user_pwd_free TXT_DB_free
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/srp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/srp.h b/include/openssl/srp.h index 49cf960347..de6631d94f 100644 --- a/include/openssl/srp.h +++ b/include/openssl/srp.h @@ -113,7 +113,7 @@ typedef struct SRP_gN_st { DECLARE_STACK_OF(SRP_gN) SRP_VBASE *SRP_VBASE_new(char *seed_key); -int SRP_VBASE_free(SRP_VBASE *vb); +void SRP_VBASE_free(SRP_VBASE *vb); int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file); SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username); char *SRP_create_verifier(const char *user, const char *pass, char **salt, |