diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-01-03 20:06:25 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-01-03 20:06:25 +0000 |
commit | 29a07ac0edcebf2bef1f74f7d630561df94f5aeb (patch) | |
tree | 9ff716e5976ede7a5ee828ecaa79dbdf53b24d29 /lib | |
parent | 9f0a179a384fb65af09bd403b5a8d59ef062addb (diff) |
Fix format string misuse in kssl_err_set(), which is not
called with user-supplied strings at the moment.
ok markus@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/src/ssl/kssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/ssl/kssl.c b/lib/libssl/src/ssl/kssl.c index 9a41769e756..926db44b80b 100644 --- a/lib/libssl/src/ssl/kssl.c +++ b/lib/libssl/src/ssl/kssl.c @@ -927,7 +927,7 @@ kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text) if (kssl_err == NULL) return; kssl_err->reason = reason; - BIO_snprintf(kssl_err->text, KSSL_ERR_MAX, text); + BIO_snprintf(kssl_err->text, KSSL_ERR_MAX, "%s", text); return; } |