Lines Matching refs:str

646 	uchar_t *str = NULL;
674 str = utf82ascstr(cert->aux->alias);
675 if (str == NULL) {
682 (char const *) str,
683 strlen((char const *) str)) == 0) {
691 str = cert->aux->keyid->data;
694 if (str != NULL &&
695 PKCS12_add_localkeyid(bag, str, len) == 0) {
723 str = utf82ascstr(cert->aux->alias);
724 if (str == NULL) {
731 bag, (char const *) str,
732 strlen((char const *) str)) == 0) {
740 str = cert->aux->keyid->data;
743 if (str != NULL &&
744 PKCS12_add_localkeyid(bag, str, len) == 0) {
807 (char **)&str);
808 if (str != NULL) {
810 (const char *)str, len) == 0) {
816 str = NULL;
819 (char **)&str, &len);
820 if (str != NULL) {
821 if (PKCS12_add_localkeyid(bag, str, len) == 0) {
827 str = NULL;
887 if (str != NULL)
888 free(str);
958 ASN1_STRING *str = NULL;
971 str = (ASN1_STRING *)M_ASN1_OCTET_STRING_new();
972 if (str == NULL ||
973 M_ASN1_OCTET_STRING_set(str, keyid_str, keyid_len) == 0 ||
979 ASN1_TYPE_set(keyid, V_ASN1_OCTET_STRING, str);
980 str = NULL;
1012 if (str != NULL)
1013 ASN1_STRING_free(str);
1045 ASN1_OCTET_STRING *str = NULL;
1076 str = ty->value.octet_string;
1077 len = str->length;
1083 (void) memcpy(*keyid_str, str->data, len);
1109 ASN1_BMPSTRING *str = NULL;
1138 str = ty->value.bmpstring;
1140 *fname = uni2asc(str->data, str->length);
1142 *fname = OPENSSL_uni2asc(str->data, str->length);
1373 ASN1_BMPSTRING *str = NULL;
1380 str = asc2bmpstring(ascname, strlen(ascname));
1381 if (str == NULL) {
1393 len = ASN1_STRING_to_UTF8(&data, str);
1406 ASN1_TYPE_set(fname, V_ASN1_BMPSTRING, str);
1407 str = NULL;
1442 if (str != NULL)
1443 ASN1_BMPSTRING_free(str);
1805 char *str = NULL;
2008 if (str != NULL)
2009 OPENSSL_free(str);
2284 * str - String to be convered.
2294 asc2bmpstring(const char *str, int len)
2302 if (asc2uni(str, len, &uni, &unilen) == 0) {
2304 if (OPENSSL_asc2uni(str, len, &uni, &unilen) == 0) {
2337 * str - UTF8STRING to be converted.
2549 * str - ASN1_STRING-type structure containing the value to be found,
2589 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey,
2607 str->type == V_ASN1_BMPSTRING) {
2613 len = ASN1_STRING_to_UTF8(&fname, str);
2644 if (s != NULL && s->type == str->type &&
2646 res = ASN1_STRING_cmp(s, str);
2684 if (t != NULL || ASN1_STRING_cmp(str,