Skip to content
Snippets Groups Projects
Commit c56af712 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix bug in last commit to this file.

parent 6aa310df
No related branches found
No related tags found
No related merge requests found
Pipeline #5061 canceled
......@@ -530,12 +530,12 @@ int add_private_key(scfg_t *cfg, CRYPT_SESSION csess)
}
ret = cryptSetAttribute(csess, CRYPT_SESSINFO_PRIVATEKEY, sess->cert);
if (cryptStatusOK(ret)) {
ret->next = sess_list;
ret->sess = csess;
sess->next = sess_list;
sess->sess = csess;
sess_list = ret;
}
else {
ret->next = cert_list;
sess->next = cert_list;
cert_list = ret;
}
pthread_mutex_unlock(&ssl_cert_list_mutex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment