Home
last modified time | relevance | path

Searched refs:cert_fp (Results 1 – 12 of 12) sorted by relevance

/dports/databases/mariadb105-client/mariadb-10.5.15/libmariadb/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp, in ma_pvio_tls_compare_fp() argument
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++) in ma_pvio_tls_compare_fp()
181 char *cert_fp= NULL; in ma_pvio_tls_check_fp() local
185 cert_fp= (char *)malloc(cert_fp_len); in ma_pvio_tls_check_fp()
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1) in ma_pvio_tls_check_fp()
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp)); in ma_pvio_tls_check_fp()
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff))) in ma_pvio_tls_check_fp()
222 if (cert_fp) in ma_pvio_tls_check_fp()
223 free(cert_fp); in ma_pvio_tls_check_fp()
/dports/databases/mariadb104-server/mariadb-10.4.24/libmariadb/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp, in ma_pvio_tls_compare_fp() argument
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++) in ma_pvio_tls_compare_fp()
181 char *cert_fp= NULL; in ma_pvio_tls_check_fp() local
185 cert_fp= (char *)malloc(cert_fp_len); in ma_pvio_tls_check_fp()
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1) in ma_pvio_tls_check_fp()
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp)); in ma_pvio_tls_check_fp()
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff))) in ma_pvio_tls_check_fp()
222 if (cert_fp) in ma_pvio_tls_check_fp()
223 free(cert_fp); in ma_pvio_tls_check_fp()
/dports/databases/mariadb105-server/mariadb-10.5.15/libmariadb/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp, in ma_pvio_tls_compare_fp() argument
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++) in ma_pvio_tls_compare_fp()
181 char *cert_fp= NULL; in ma_pvio_tls_check_fp() local
185 cert_fp= (char *)malloc(cert_fp_len); in ma_pvio_tls_check_fp()
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1) in ma_pvio_tls_check_fp()
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp)); in ma_pvio_tls_check_fp()
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff))) in ma_pvio_tls_check_fp()
222 if (cert_fp) in ma_pvio_tls_check_fp()
223 free(cert_fp); in ma_pvio_tls_check_fp()
/dports/databases/mariadb103-server/mariadb-10.3.34/libmariadb/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp, in ma_pvio_tls_compare_fp() argument
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++) in ma_pvio_tls_compare_fp()
181 char *cert_fp= NULL; in ma_pvio_tls_check_fp() local
185 cert_fp= (char *)malloc(cert_fp_len); in ma_pvio_tls_check_fp()
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1) in ma_pvio_tls_check_fp()
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp)); in ma_pvio_tls_check_fp()
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff))) in ma_pvio_tls_check_fp()
222 if (cert_fp) in ma_pvio_tls_check_fp()
223 free(cert_fp); in ma_pvio_tls_check_fp()
/dports/databases/mariadb103-client/mariadb-10.3.34/libmariadb/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp, in ma_pvio_tls_compare_fp() argument
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++) in ma_pvio_tls_compare_fp()
181 char *cert_fp= NULL; in ma_pvio_tls_check_fp() local
185 cert_fp= (char *)malloc(cert_fp_len); in ma_pvio_tls_check_fp()
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1) in ma_pvio_tls_check_fp()
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp)); in ma_pvio_tls_check_fp()
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff))) in ma_pvio_tls_check_fp()
222 if (cert_fp) in ma_pvio_tls_check_fp()
223 free(cert_fp); in ma_pvio_tls_check_fp()
/dports/databases/mariadb-connector-c/mariadb-connector-c-3.2.4-src/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp,
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++)
181 char *cert_fp= NULL;
185 cert_fp= (char *)malloc(cert_fp_len);
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1)
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp));
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff)))
222 if (cert_fp)
223 free(cert_fp);
/dports/databases/mariadb104-client/mariadb-10.4.24/libmariadb/libmariadb/
H A Dma_tls.c144 static my_bool ma_pvio_tls_compare_fp(const char *cert_fp, in ma_pvio_tls_compare_fp() argument
162 for(c= (char *)cert_fp; c < cert_fp + cert_fp_len; c++) in ma_pvio_tls_compare_fp()
181 char *cert_fp= NULL; in ma_pvio_tls_check_fp() local
185 cert_fp= (char *)malloc(cert_fp_len); in ma_pvio_tls_check_fp()
187 if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1) in ma_pvio_tls_check_fp()
190 rc= ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, fp, (unsigned int)strlen(fp)); in ma_pvio_tls_check_fp()
208 if (!ma_pvio_tls_compare_fp(cert_fp, cert_fp_len, buff, (unsigned int)strlen(buff))) in ma_pvio_tls_check_fp()
222 if (cert_fp) in ma_pvio_tls_check_fp()
223 free(cert_fp); in ma_pvio_tls_check_fp()
/dports/security/libp11/libp11-libp11-0.4.11/tests/
H A Dcheck-privkey.c58 FILE *cert_fp = NULL; in main() local
135 cert_fp = fopen(certfile, "rb"); in main()
136 if (!cert_fp) { in main()
142 cert = PEM_read_X509(cert_fp, NULL, NULL, NULL); in main()
148 if (cert_fp) { in main()
149 fclose(cert_fp); in main()
/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/src/openvpn/
H A Dssl_verify.c726 struct buffer cert_fp = {0}; in verify_cert() local
731 cert_fp = x509_get_sha1_fingerprint(cert, &gc); in verify_cert()
735 cert_fp = x509_get_sha256_fingerprint(cert, &gc); in verify_cert()
754 if (memcmp_constant_time(BPTR(&cert_fp), current_hash->hash, in verify_cert()
755 BLEN(&cert_fp)) == 0) in verify_cert()
764 const char *hex_fp = format_hex_ex(BPTR(&cert_fp), BLEN(&cert_fp), in verify_cert()
/dports/sysutils/py-salt/salt-3004.1/salt/utils/
H A Ddns.py1034 cert_fp = binascii.b2a_hex(pub)
1038 cert_fp = hasher.hexdigest()
1040 return _rec2data(usage, selector, matching, cert_fp)
/dports/mail/libmilter/sendmail-8.16.1/sendmail/
H A Dtls.c1600 cert_fp(cert, evp_digest, mac, macro)
1853 (void) cert_fp(cert, EVP_digest, mac, CERTFPMACRO);
/dports/mail/libmilter/sendmail-8.16.1/
H A DRELEASE_NOTES210 (e.g., sha1) is used and the macro {cert_fp} contains
214 by {cert_fp} even if you set CertFingerprintAlgorithm