| /freebsd/contrib/ntp/libntp/ |
| H A D | mktime.c | 151 register struct tm * btmp in tmcomp() argument 158 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 && in tmcomp() 159 (result = (atmp->tm_mon - btmp->tm_mon)) == 0) in tmcomp() 160 result = (atmp->tm_mday - btmp->tm_mday); in tmcomp() 167 if(atmp->tm_isdst == 1 && !btmp->tm_isdst) in tmcomp() 168 btmp = mkdst(btmp); in tmcomp() 169 else if(btmp->tm_isdst == 1 && !atmp->tm_isdst) in tmcomp() 174 if ((result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in tmcomp() 175 (result = (atmp->tm_min - btmp->tm_min)) == 0) in tmcomp() 176 result = atmp->tm_sec - btmp->tm_sec; in tmcomp()
|
| /freebsd/crypto/openssl/crypto/conf/ |
| H A D | conf_lib.c | 72 BIO *btmp; in LHASH_OF() local 74 if ((btmp = BIO_new_fp(fp, BIO_NOCLOSE)) == NULL) { in LHASH_OF() 78 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF() 79 BIO_free(btmp); in LHASH_OF() 153 BIO *btmp; in CONF_dump_fp() local 156 if ((btmp = BIO_new_fp(out, BIO_NOCLOSE)) == NULL) { in CONF_dump_fp() 160 ret = CONF_dump_bio(conf, btmp); in CONF_dump_fp() 161 BIO_free(btmp); in CONF_dump_fp() 264 BIO *btmp; in NCONF_load_fp() local 266 if ((btmp = BIO_new_fp(fp, BIO_NOCLOSE)) == NULL) { in NCONF_load_fp() [all …]
|
| H A D | conf_def.c | 217 char btmp[DECIMAL_SIZE(eline) + 1]; in def_load_bio() local 590 BIO_snprintf(btmp, sizeof(btmp), "%ld", eline); in def_load_bio() 591 ERR_add_error_data(2, "line ", btmp); in def_load_bio()
|
| /freebsd/crypto/openssl/crypto/pkcs7/ |
| H A D | pk7_doit.c | 97 BIO *btmp; in pkcs7_bio_add_digest() local 102 if ((btmp = BIO_new(BIO_f_md())) == NULL) { in pkcs7_bio_add_digest() 124 if (BIO_set_md(btmp, md) <= 0) { in pkcs7_bio_add_digest() 131 *pbio = btmp; in pkcs7_bio_add_digest() 132 else if (!BIO_push(*pbio, btmp)) { in pkcs7_bio_add_digest() 136 btmp = NULL; in pkcs7_bio_add_digest() 141 BIO_free(btmp); in pkcs7_bio_add_digest() 235 BIO *out = NULL, *btmp = NULL; in PKCS7_dataInit() local 323 if ((btmp = BIO_new(BIO_f_cipher())) == NULL) { in PKCS7_dataInit() 327 BIO_get_cipher_ctx(btmp, &ctx); in PKCS7_dataInit() [all …]
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | BIO_find_type.pod | 47 BIO *btmp; 49 btmp = in_bio; /* in_bio is chain to search through */ 51 btmp = BIO_find_type(btmp, BIO_TYPE_MD); 52 if (btmp == NULL) 54 /* btmp is a digest BIO, do something with it ...*/ 57 btmp = BIO_next(btmp); 58 } while (btmp);
|
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | v3_utl.c | 268 const char *btmp; in X509V3_get_value_bool() local 270 if ((btmp = value->value) == NULL) in X509V3_get_value_bool() 272 if (strcmp(btmp, "TRUE") == 0 in X509V3_get_value_bool() 273 || strcmp(btmp, "true") == 0 in X509V3_get_value_bool() 274 || strcmp(btmp, "Y") == 0 in X509V3_get_value_bool() 275 || strcmp(btmp, "y") == 0 in X509V3_get_value_bool() 276 || strcmp(btmp, "YES") == 0 in X509V3_get_value_bool() 277 || strcmp(btmp, "yes") == 0) { in X509V3_get_value_bool() 281 if (strcmp(btmp, "FALSE") == 0 in X509V3_get_value_bool() 282 || strcmp(btmp, "false") == 0 in X509V3_get_value_bool() [all …]
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | a_strex.c | 571 BIO *btmp; in X509_NAME_print_ex_fp() local 573 btmp = BIO_new_fp(fp, BIO_NOCLOSE); in X509_NAME_print_ex_fp() 574 if (!btmp) in X509_NAME_print_ex_fp() 576 ret = X509_NAME_print(btmp, nm, indent); in X509_NAME_print_ex_fp() 577 BIO_free(btmp); in X509_NAME_print_ex_fp()
|
| /freebsd/usr.sbin/watch/ |
| H A D | watch.c | 93 char btmp[1024]; in timestamp() local 98 strftime(btmp, 1024, "Time: %d %b %H:%M", localtime(&t)); in timestamp() 99 printf("%s\n", btmp); in timestamp()
|
| /freebsd/crypto/openssl/engines/ |
| H A D | e_capi.c | 725 unsigned char *btmp; in capi_get_pkey() local 737 btmp = (unsigned char *)(dp + 1); in capi_get_pkey() 757 if (!lend_tobn(p, btmp, dsa_plen)) { in capi_get_pkey() 761 btmp += dsa_plen; in capi_get_pkey() 762 if (!lend_tobn(q, btmp, 20)) { in capi_get_pkey() 766 btmp += 20; in capi_get_pkey() 767 if (!lend_tobn(g, btmp, dsa_plen)) { in capi_get_pkey() 771 btmp += dsa_plen; in capi_get_pkey() 772 if (!lend_tobn(pub_key, btmp, dsa_plen)) { in capi_get_pkey() 776 btmp += dsa_plen; in capi_get_pkey()
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | apps.c | 241 BIO *btmp; in app_get_pass() local 253 btmp = BIO_new(BIO_f_buffer()); in app_get_pass() 254 if (btmp == NULL) { in app_get_pass() 260 pwdbio = BIO_push(btmp, pwdbio); in app_get_pass() 1645 BIGNUM *btmp; in rand_serial() local 1648 btmp = b == NULL ? BN_new() : b; in rand_serial() 1649 if (btmp == NULL) in rand_serial() 1652 if (!BN_rand(btmp, SERIAL_RAND_BITS, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) in rand_serial() 1654 if (ai && !BN_to_ASN1_INTEGER(btmp, ai)) in rand_serial() 1661 if (btmp != b) in rand_serial() [all …]
|
| /freebsd/contrib/tzcode/ |
| H A D | localtime.c | 2567 register const struct tm *const btmp) in tmcomp() argument 2571 if (atmp->tm_year != btmp->tm_year) in tmcomp() 2572 return atmp->tm_year < btmp->tm_year ? -1 : 1; in tmcomp() 2573 if ((result = (atmp->tm_mon - btmp->tm_mon)) == 0 && in tmcomp() 2574 (result = (atmp->tm_mday - btmp->tm_mday)) == 0 && in tmcomp() 2575 (result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in tmcomp() 2576 (result = (atmp->tm_min - btmp->tm_min)) == 0) in tmcomp() 2577 result = atmp->tm_sec - btmp->tm_sec; in tmcomp()
|
| /freebsd/crypto/openssh/ |
| H A D | configure.ac | 913 AC_DEFINE([USE_BTMP], [1], [Use btmp to log bad logins]) 966 AC_DEFINE([_PATH_BTMP], ["/var/log/btmp"], [log for bad login attempts]) 967 AC_DEFINE([USE_BTMP], [1], [Use btmp to log bad logins]) 986 AC_DEFINE([_PATH_BTMP], ["/var/log/btmp"], [log for bad login attempts])
|
| H A D | ChangeLog | 1249 Fix ut_type for btmp records 1255 Fixes: 671c44078 ("use construct_utmp to construct btmp records") 8295 use construct_utmp to construct btmp records
|