[mod_wolfssl] fix syntax errors

personal/stbuehler/tests-path
Glenn Strauss 2021-01-17 15:06:24 -05:00
parent 755f895b79
commit 9d8d559e1f
1 changed files with 2 additions and 2 deletions

View File

@ -747,7 +747,7 @@ mod_wolfssl_evp_pkey_load_pem_file (const char *fn, log_error_st *errh)
if (rc < 0) {
log_error(errh, __FILE__, __LINE__, "%s() %s", __func__, fn);
if (pkey) {
wolfSSL_OPENSSL_cleanse(pkey->ptr, pkey->size)
wolfSSL_OPENSSL_cleanse(pkey->ptr, pkey->size);
buffer_free(pkey);
}
return NULL;
@ -1689,7 +1689,7 @@ mod_openssl_acme_tls_1 (SSL *ssl, handler_ctx *hctx)
} while (0);
if (ssl_pemfile_pkey) {
wolfSSL_OPENSSL_cleanse(b->ptr, b->size)
wolfSSL_OPENSSL_cleanse(b->ptr, b->size);
buffer_free(ssl_pemfile_pkey);
}
/*if (ssl_pemfile_x509) buffer_free(ssl_pemfile_x509);*//*(part of chain)*/