I'm not sure why we use get1 and not get0. get0 should be ok here, no? Someone in the know please apply a clue bat, thanks.
diff --git acctproc.c acctproc.c index 09ac8c83372..fd0a22629db 100644 --- acctproc.c +++ acctproc.c @@ -86,6 +86,7 @@ op_thumb_rsa(EVP_PKEY *pkey) else if ((json = json_fmt_thumb_rsa(exp, mod)) == NULL) warnx("json_fmt_thumb_rsa"); + RSA_free(r); free(exp); free(mod); return json; @@ -219,6 +220,7 @@ op_sign_rsa(char **prot, EVP_PKEY *pkey, const char *nonce, const char *url) else rc = 1; + RSA_free(r); free(exp); free(mod); return rc; -- I'm not entirely sure you are real.