Overview
Comment: | Corrections to previous commit |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | tls-2.0 |
Files: | files | file ages | folders |
SHA3-256: |
b565c0a12a0a93890b04f9970596d17d |
User & Date: | bohagan on 2025-02-08 21:05:15 |
Other Links: | branch diff | manifest | tags |
Context
2025-02-09
| ||
18:35 | Fixed typos in documentation Leaf check-in: e19f6b3f18 user: bohagan tags: trunk, tls-2.0 | |
2025-02-08
| ||
21:05 | Corrections to previous commit check-in: b565c0a12a user: bohagan tags: trunk, tls-2.0 | |
2025-02-01
| ||
23:36 | Made changes to dereference objects returned by Tcl_ListObjIndex and Tcl_ListObjGetElements for TCL 9 abstract lists check-in: 74ebe7ccce user: bohagan tags: trunk, tls-2.0 | |
Changes
Modified generic/tls.c
from [df5d7390df]
to [3599afe66c].
︙ | ︙ | |||
3024 3025 3026 3027 3028 3029 3030 | ASN1_INTEGER_set(X509_get_serialNumber(cert),serial); X509_gmtime_adj(X509_getm_notBefore(cert),0); X509_gmtime_adj(X509_getm_notAfter(cert),(long)60*60*24*days); X509_set_pubkey(cert,pkey); name=X509_get_subject_name(cert); | | | 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 | ASN1_INTEGER_set(X509_get_serialNumber(cert),serial); X509_gmtime_adj(X509_getm_notBefore(cert),0); X509_gmtime_adj(X509_getm_notAfter(cert),(long)60*60*24*days); X509_set_pubkey(cert,pkey); name=X509_get_subject_name(cert); if (k_C != NULL) { string = (const unsigned char *) Tcl_GetStringFromObj(k_C, &len); } else { string = NULL; len = 0; } X509_NAME_add_entry_by_txt(name,"C", MBSTRING_ASC, string, (int) len, -1, 0); |
︙ | ︙ | |||
3116 3117 3118 3119 3120 3121 3122 | X509_free(cert); EVP_PKEY_free(pkey); #if OPENSSL_VERSION_NUMBER < 0x30000000L BN_free(bne); #endif } done: if (k_C != NULL) { | | | | | | | | | 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 | X509_free(cert); EVP_PKEY_free(pkey); #if OPENSSL_VERSION_NUMBER < 0x30000000L BN_free(bne); #endif } done: if (k_C != NULL) { Tcl_DecrRefCount(k_C); } if (k_ST != NULL) { Tcl_DecrRefCount(k_ST); } if (k_L != NULL) { Tcl_DecrRefCount(k_L); } if (k_O != NULL) { Tcl_DecrRefCount(k_O); } if (k_OU != NULL) { Tcl_DecrRefCount(k_OU); } if (k_CN != NULL) { Tcl_DecrRefCount(k_CN); } if (k_Email != NULL) { Tcl_DecrRefCount(k_Email); } } break; default: break; } return res; |
︙ | ︙ |