projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use safer sizeof variant in malloc
[openssl.git]
/
apps
/
s_cb.c
diff --git
a/apps/s_cb.c
b/apps/s_cb.c
index 13a3a25652bca60d700f582cec347a2d18c8b494..d371cc9b98a153edb3a26aabe1b93a484329825b 100644
(file)
--- a/
apps/s_cb.c
+++ b/
apps/s_cb.c
@@
-1173,7
+1173,7
@@
void ssl_ctx_set_excert(SSL_CTX *ctx, SSL_EXCERT *exc)
static int ssl_excert_prepend(SSL_EXCERT **pexc)
{
- SSL_EXCERT *exc = app_malloc(sizeof
*exc
, "prepend cert");
+ SSL_EXCERT *exc = app_malloc(sizeof
(*exc)
, "prepend cert");
exc->certfile = NULL;
exc->keyfile = NULL;