cyassl object size debug output
This commit is contained in:
parent
43a0a21fb6
commit
56960ef1cc
22
src/ssl.c
22
src/ssl.c
@ -212,6 +212,28 @@ int CyaSSL_negotiate(CYASSL* ssl)
|
||||
/* object size based on build */
|
||||
int CyaSSL_GetObjectSize(void)
|
||||
{
|
||||
#ifdef SHOW_SIZES
|
||||
printf("sizeof suites = %d\n", sizeof(Suites));
|
||||
printf("sizeof ciphers(2) = %d\n", sizeof(Ciphers));
|
||||
printf("\tsizeof arc4 = %d\n", sizeof(Arc4));
|
||||
printf("\tsizeof aes = %d\n", sizeof(Aes));
|
||||
printf("\tsizeof des3 = %d\n", sizeof(Des3));
|
||||
printf("\tsizeof rabbit = %d\n", sizeof(Rabbitj));
|
||||
printf("sizeof cipher specs = %d\n", sizeof(CipherSpecs));
|
||||
printf("sizeof keys = %d\n", sizeof(Keys));
|
||||
printf("sizeof RNG = %d\n", sizeof(RNG));
|
||||
printf("sizeof MD5 = %d\n", sizeof(Md5));
|
||||
printf("sizeof SHA = %d\n", sizeof(Sha));
|
||||
printf("sizeof SHA256 = %d\n", sizeof(Sha256));
|
||||
printf("sizeof Hashes(2) = %d\n", sizeof(Hashes));
|
||||
printf("sizeof Buffers = %d\n", sizeof(Buffers));
|
||||
printf("sizeof Options = %d\n", sizeof(Options));
|
||||
printf("sizeof Arrays = %d\n", sizeof(Arrays));
|
||||
printf("sizeof Session = %d\n", sizeof(CYASSL_SESSION));
|
||||
printf("sizeof peerKey = %d\n", sizeof(RsaKey));
|
||||
printf("sizeof CYASSL_CIPHER = %d\n", sizeof(CYASSL_CIPHER));
|
||||
#endif
|
||||
|
||||
return sizeof(CYASSL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user