int aead, nid;
const char *skcipher = NULL, *digest = NULL, *kx = NULL, *auth = NULL;
#endif
- PyObject *retval;
-
- retval = PyDict_New();
- if (retval == NULL) {
- goto error;
- }
/* can be NULL */
cipher_name = SSL_CIPHER_get_name(cipher);
auth = nid != NID_undef ? OBJ_nid2ln(nid) : NULL;
#endif
- retval = Py_BuildValue(
+ return Py_BuildValue(
"{sksssssssisi"
#if OPENSSL_VERSION_1_1
"sOssssssss"
"auth", auth
#endif
);
- return retval;
-
- error:
- Py_XDECREF(retval);
- return NULL;
}
#endif