Home
last modified time | relevance | path

Searched refs:bodytype (Results 1 – 14 of 14) sorted by path

/freebsd/contrib/sendmail/
H A DRELEASE_NOTES7666 Define ${bodytype} to be the body type (from the -B flag or the
/freebsd/contrib/sendmail/src/
H A Dqueue.c5030 char bodytype[MAXNAME + 1]; /* EAI:ok */ local
5102 statmsg[0] = bodytype[0] = '\0';
5134 if ((i = strlen(&buf[1])) >= sizeof(bodytype))
5135 i = sizeof(bodytype) - 1;
5136 memmove(bodytype, &buf[1], i);
5137 bodytype[i] = '\0';
5173 if (statmsg[0] != '\0' || bodytype[0] != '\0')
5178 bodytype);
H A Dusersmtp.c2062 char *bodytype; local
2145 bodytype = e->e_bodytype;
2148 if (bodytype == NULL &&
2153 bodytype = "8BITMIME";
2154 if (bodytype != NULL &&
2155 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7)
2158 " BODY=%s", bodytype);
H A Dutil.c397 check_bodytype(bodytype) in check_bodytype() argument
398 char *bodytype; in check_bodytype()
401 if (bodytype == NULL)
403 if (SM_STRCASEEQ(bodytype, "7bit"))
405 if (SM_STRCASEEQ(bodytype, "8bitmime"))
/freebsd/crypto/openssl/apps/include/
H A Dcmp_mock_srv.h30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c132 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument
141 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_client.c410 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument
444 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
H A Dcmp_local.h865 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
866 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
868 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
H A Dcmp_msg.c161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument
171 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create()
178 switch (bodytype) { in ossl_cmp_msg_create()
445 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument
459 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new()
497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
639 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local
644 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV()
645 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV()
646 && bodytype != OSSL_CMP_PKIBODY_GENP) { in ossl_cmp_msg_gen_push0_ITAV()
H A Dcmp_server.c166 int bodytype; in process_cert_request() local
175 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request()
178 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request()
181 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request()
235 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod22 OSSL_ossl_cmp_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
24 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
52 which can be either of IR/CR/KUR/P10CR, depending on the given I<bodytype>.
56 Available CMP certificate request PKIMessage I<bodytype>s are:
71 which can be either of IP/CP/KUP, depending on the given I<bodytype>,
79 Available CMP certificate response PKIMessage I<bodytype>s are:
91 The list of all CMP PKIMessage I<bodytype>s is:
H A Dossl_cmp_mock_srv_new.pod30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
55 for requests of the given I<bodytype>, or for all requests if I<bodytype> is 1.
56 A I<bodytype> of -1 can be used to disable this feature, which is the default.
H A Dossl_cmp_msg_create.pod75 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
93 using fields of B<ctx> for the header and B<bodytype> for the body.
/freebsd/crypto/openssl/test/
H A Dcmp_msg_test.c22 int bodytype; member
150 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_set()
168 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_fails()
185 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr_without_key()
195 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr()
209 fixture->bodytype = OSSL_CMP_PKIBODY_RR; in test_cmp_create_certreq_with_invalid_bodytype()
227 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr()
244 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr_null()
258 fixture->bodytype = OSSL_CMP_PKIBODY_KUR; in test_cmp_create_kur()
273 fixture->bodytype = OSSL_CMP_PKIBODY_KUR; in test_cmp_create_kur_without_oldcert()
[all …]