commit 51340784148099697642da6252048a266f227d8e from: Omar Polo date: Fri Jun 23 22:39:37 2023 UTC macos' clang is retarded thinks rsa and ecdsa may be used un-initialized... if we enter the branch with fatalx(). sigh commit - 3d0204e7efce3ecaa2112b2c5aca0ab80691ab5a commit + 51340784148099697642da6252048a266f227d8e blob - a932764e4bbb58e8187479a9936b3ce5a36cef72 blob + dd4ead3a49898641583eedbf8d60e37ccf79287d --- crypto.c +++ crypto.c @@ -113,8 +113,8 @@ static int crypto_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg) { struct privsep *ps = p->p_ps; - RSA *rsa; - EC_KEY *ecdsa; + RSA *rsa = NULL; + EC_KEY *ecdsa = NULL; EVP_PKEY *pkey; struct imsg_crypto_req req; struct imsg_crypto_res res;