--0-298220736-1112280996=:28283
Content-Type: text/plain; charset=us-ascii

Hello All,

I find some unreachable codes in OpenSSL 0.9.7f . Their details are as follows.

File Name
Line No
Code Snippet
pk7_lib.c
187 break;
p7->d.signed_and_enveloped->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data);
break;

evp_pkey.c
209
EVP_PKEY_free(pkey);
return NULL;
break; evp_pkey.c
291
p8->broken = PKCS8_OK;
return p8;
break;
evp_pkey.c
297
p8->pkey->type = V_ASN1_SEQUENCE;
return p8;
break;
evp_pkey.c
302
EVPerr(EVP_F_EVP_PKCS8_SET_BROKEN,EVP_R_PKCS8_UNKN OWN_BROKEN_TYPE);
return NULL;
break;
tasn_enc.c
125
return asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
break; tasn_enc.c
458
return i2c_ASN1_BIT_STRING((ASN1_BIT_STRING *)*pval, cout ? &cout : NULL);
break; tasn_enc.c
468
return i2c_ASN1_INTEGER((ASN1_INTEGER *)*pval, cout ? &cout : NULL);
break; tasn_dec.c
167
return asn1_d2i_ex_primitive(pval, in, len, it, tag, aclass, opt, ctx);
break; evp_enc.c
250 default:
return 0;
break;
p12_kiss.c
289
return parse_bags(bag->value.safes, pass, passlen, pkey, cert, ca, keyid, keymatch);
break; p12_kiss.c
293
default:
return 1;
break;
s3_lib.c
1228
{
SSLerr(SSL_F_SSL3_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(ret);
}
break; s3_lib.c
1264
{
SSLerr(SSL_F_SSL3_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(ret);
}
break; s3_lib.c
1367
{
SSLerr(SSL_F_SSL3_CTX_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(0);
}
break; s3_lib.c
1400
{
SSLerr(SSL_F_SSL3_CTX_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(0);
}
break; pkcs12.c
838
BIO_printf (bio_err, "\n");
return 1;
break;
Thanks,
Prakash

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-298220736-1112280996=:28283
Content-Type: text/html; charset=us-ascii








Hello All,

 

size=2>                  
I  find some unreachable codes in OpenSSL 0.9.7f .  Their details are
as follows.

 










































































size=-1>File Name
size=-1>Line No
size=-1>Code Snippet
size=-1>pk7_lib.c
size=-1>187
size=-1>break;
p7->d.signed_and_enveloped->enc_data->content_type  
= OBJ_nid2obj(NID_pkcs7_data);
 break;

 
size=-1>evp_pkey.c
size=-1>209
size=-1>EVP_PKEY_free(pkey);
return NULL;
break;
size=-1>evp_pkey.c
size=-1>291
size=-1>p8->broken = PKCS8_OK;
return p8;
break;
size=-1>evp_pkey.c
size=-1>297
size=-1> p8->pkey->type = V_ASN1_SEQUENCE;
 return
p8;
 break;
size=-1>evp_pkey.c
size=-1>302
size=-1>EVPerr(EVP_F_EVP_PKCS8_SET_BROKEN,EVP_R_PKCS8_UNKN OWN_BROKEN_TYPE);
return
NULL;
break;
size=-1>tasn_enc.c
size=-1>125
return
asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
break;
size=-1>tasn_enc.c
size=-1>458
return
i2c_ASN1_BIT_STRING((ASN1_BIT_STRING *)*pval, cout ? &cout :
NULL);
break;
size=-1>tasn_enc.c
size=-1>468
return
i2c_ASN1_INTEGER((ASN1_INTEGER *)*pval, cout ? &cout :
NULL);
break;
size=-1>tasn_dec.c
size=-1>167
size=-1> return asn1_d2i_ex_primitive(pval, in, len, it, tag, aclass,
opt, ctx);
 break;
size=-1>evp_enc.c
size=-1>250
size=-1>default:
 return 0;
 break;
size=-1>p12_kiss.c
size=-1>289
size=-1> return parse_bags(bag->value.safes, pass, passlen, pkey,
cert, ca, keyid, keymatch);
  break;
size=-1>p12_kiss.c
size=-1>293
size=-1>default:
 return 1;
break;
size=-1>s3_lib.c
size=-1>1228
size=-1> {
SSLerr(SSL_F_SSL3_CTRL,
ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(ret);
}
break;
size=-1>s3_lib.c
size=-1>1264
size=-1>{
SSLerr(SSL_F_SSL3_CTRL,
ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(ret);
}
break;
size=-1>s3_lib.c
size=-1>1367
size=-1>{
SSLerr(SSL_F_SSL3_CTX_CTRL,
ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
 return(0);
}
break;
size=-1>s3_lib.c
size=-1>1400
size=-1>{
SSLerr(SSL_F_SSL3_CTX_CTRL,
ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(0);
}
break;
size=-1>pkcs12.c
size=-1>838
size=-1>BIO_printf (bio_err, "\n");
return
1;
break;

 

Thanks,

Prakash

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-298220736-1112280996=:28283--

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org