Lines Matching defs:kssl_err
940 /* Set kssl_err error info when reason text is a simple string
941 ** kssl_err = struct { int reason; char text[KSSL_ERR_MAX+1]; }
944 kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text)
946 if (kssl_err == NULL) return;
948 kssl_err->reason = reason;
949 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX, text);
1068 /* OUT */ KSSL_ERR *kssl_err)
1077 kssl_err_set(kssl_err, 0, "");
1082 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1088 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1095 BIO_snprintf(kssl_err->text,KSSL_ERR_MAX,
1097 kssl_err->reason = SSL_R_KRB5_C_INIT;
1106 BIO_snprintf(kssl_err->text,KSSL_ERR_MAX,
1111 kssl_err->reason = SSL_R_KRB5_C_INIT;
1117 kssl_err_set(kssl_err, SSL_R_KRB5_C_CC_PRINC,
1125 kssl_err_set(kssl_err, SSL_R_KRB5_C_CC_PRINC,
1133 kssl_err_set(kssl_err, SSL_R_KRB5_C_GET_CRED,
1165 kssl_err_set(kssl_err, SSL_R_KRB5_C_MK_REQ,
1193 kssl_err_set(kssl_err, SSL_R_KRB5_C_INIT,
1199 kssl_err_set(kssl_err, SSL_R_KRB5_C_INIT,
1222 ** Return Kerberos error code and kssl_err struct on error.
1236 /* OUT */ KSSL_ERR *kssl_err )
1248 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1250 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1256 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1258 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1272 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1274 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1288 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1290 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1316 /* OUT */ KSSL_ERR *kssl_err )
1329 kssl_err_set(kssl_err, 0, "");
1333 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1344 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1351 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1359 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1368 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1377 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1388 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1396 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1410 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1420 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1444 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1446 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1452 kssl_err)) != 0)
1454 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1456 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1463 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1465 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1471 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1473 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1478 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1480 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1522 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1530 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1535 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1541 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1990 ** Returns krb5_error_code and kssl_err on error. A NULL
1999 /* OUT */ KSSL_ERR *kssl_err )
2016 kssl_err_set(kssl_err, 0, "");
2041 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2051 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2081 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2089 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2104 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2114 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,