Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2002-12-25 00:53:34 +0300
committerLutz Jänicke <jaenicke@openssl.org>2002-12-25 00:53:34 +0300
commitc71414b3a94d0593d4397ef3ddeada48894651bd (patch)
tree6fd8222345d2d252fc8a9589f8e91f9008d6ff46 /ssl
parent542e010aa5cef3befed9dbee3f97eb249ec505cc (diff)
Some more adjustments
Submitted by: Jeffrey Altman <jaltman@columbia.edu>, "Kenneth R. Robinette" <support@securenetterm.com>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/kssl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c
index 2b82ef60f7..327b92f33b 100644
--- a/ssl/kssl.c
+++ b/ssl/kssl.c
@@ -1961,7 +1961,7 @@ krb5_error_code kssl_check_authent(
const EVP_CIPHER *enc = NULL;
unsigned char iv[EVP_MAX_IV_LENGTH];
unsigned char *p, *unenc_authent;
- int padl, outl, unencbufsize;
+ int outl, unencbufsize;
struct tm tm_time, *tm_l, *tm_g;
time_t now, tl, tg, tr, tz_offset;
@@ -2033,7 +2033,7 @@ krb5_error_code kssl_check_authent(
if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0))
{
kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
- "EVP_DecryptInit_ex error decrypting authenticator.\n");
+ "EVP_CipherInit error decrypting authenticator.\n");
krb5rc = KRB5KRB_AP_ERR_BAD_INTEGRITY;
goto err;
}
@@ -2094,6 +2094,7 @@ krb5_error_code kssl_check_authent(
if (auth) KRB5_AUTHENT_free((KRB5_AUTHENT *) auth);
if (dec_authent) KRB5_ENCDATA_free(dec_authent);
if (unenc_authent) free(unenc_authent);
+ EVP_CIPHER_CTX_cleanup(&ciph_ctx);
return krb5rc;
}