apps/s_client.c:1310: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `SSL_new`.
Showing all 27 steps of the trace


apps/s_client.c:1277:7: Call
1275.   	ssl_ctx_add_crls(ctx, crls, crl_download);
1276.   
1277.   	if (!set_cert_key_stuff(ctx,cert,key,chain,build_chain))
              ^
1278.   		goto end;
1279.   

apps/s_cb.c:264:6: Call
  262.   	if (cert == NULL)
  263.   		return 1;
  264.   	if (SSL_CTX_use_certificate(ctx,cert) <= 0)
              ^
  265.   		{
  266.   		BIO_printf(bio_err,"error setting certificate\n");

ssl/ssl_rsa.c:410:9: Call
    408.   		return(0);
    409.   		}
    410.   	return(ssl_set_cert(ctx->cert, x));
                   ^
    411.   	}
    412.   

ssl/ssl_rsa.c:418:7: Call
      416.   	int i;
      417.   
      418.   	pkey=X509_get_pubkey(x);
                   ^
      419.   	if (pkey == NULL)
      420.   		{

crypto/x509/x509_cmp.c:304:9: Call
        302.   	if ((x == NULL) || (x->cert_info == NULL))
        303.   		return(NULL);
        304.   	return(X509_PUBKEY_get(x->cert_info->key));
                       ^
        305.   	}
        306.   

crypto/asn1/x_pubkey.c:153:7: Call
          151.   		}
          152.   
          153.   	if (!EVP_PKEY_set_type(ret, OBJ_obj2nid(key->algor->algorithm)))
                       ^
          154.   		{
          155.   		X509err(X509_F_X509_PUBKEY_GET,X509_R_UNSUPPORTED_ALGORITHM);

crypto/evp/p_lib.c:255:9: Call
            253.   int EVP_PKEY_set_type(EVP_PKEY *pkey, int type)
            254.   	{
            255.   	return pkey_set_type(pkey, type, NULL, -1);
                           ^
            256.   	}
            257.   

crypto/evp/p_lib.c:232:11: Call
              230.   		ameth = EVP_PKEY_asn1_find_str(&e, str, len);
              231.   	else
              232.   		ameth = EVP_PKEY_asn1_find(&e, type);
                               ^
              233.   #ifndef OPENSSL_NO_ENGINE
              234.   	if (!pkey && e)

crypto/asn1/ameth_lib.c:194:7: Call
                192.   		ENGINE *e;
                193.   		/* type will contain the final unaliased type */
                194.   		e = ENGINE_get_pkey_asn1_meth_engine(type);
                             ^
                195.   		if (e)
                196.   			{

crypto/engine/tb_asnmth.c:118:9: Call
                  116.   ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid)
                  117.   	{
                  118.   	return engine_table_select(&pkey_asn1_meth_table, nid);
                                 ^
                  119.   	}
                  120.   

crypto/engine/eng_table.c:261:6: Call
                    259.   	/* Check again inside the lock otherwise we could race against cleanup
                    260.   	 * operations. But don't worry about a fprintf(stderr). */
                    261.   	if(!int_table_check(table, 0)) goto end;
                                ^
                    262.   	tmplate.nid = nid;
                    263.   	fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate);

crypto/engine/eng_table.c:122:11: Call
                      120.   	if(*t) return 1;
                      121.   	if(!create) return 0;
                      122.   	if((lh = lh_ENGINE_PILE_new()) == NULL)
                                       ^
                      123.   		return 0;
                      124.   	*t = (ENGINE_TABLE *)lh;

crypto/lhash/lhash.c:133:2: Assignment
                        131.   	ret->up_load=UP_LOAD;
                        132.   	ret->down_load=DOWN_LOAD;
                        133.   	ret->num_items=0;
                                ^
                        134.   
                        135.   	ret->num_expands=0;

apps/s_client.c:1310:6: Call
1308.   #endif
1309.   
1310.   	con=SSL_new(ctx);
             ^
1311.   	if (sess_in)
1312.   		{

ssl/ssl_lib.c:275:1: Parameter `ctx->sessions->num_items`
  273.   	}
  274.   
  275. > SSL *SSL_new(SSL_CTX *ctx)
  276.   	{
  277.   	SSL *s;

ssl/ssl_lib.c:397:2: Call
  395.   	s->server=(ctx->method->ssl_accept == ssl_undefined_function)?0:1;
  396.   
  397.   	SSL_clear(s);
          ^
  398.   
  399.   	CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL, s, &s->ex_data);

ssl/ssl_lib.c:185:1: Parameter `s->ctx->sessions->num_items`
    183.   	};
    184.   
    185. > int SSL_clear(SSL *s)
    186.   	{
    187.   

ssl/ssl_lib.c:194:6: Call
    192.   		}
    193.   
    194.   	if (ssl_clear_bad_session(s))
                ^
    195.   		{
    196.   		SSL_SESSION_free(s->session);

ssl/ssl_sess.c:988:1: Parameter `s->ctx->sessions->num_items`
      986.   	}
      987.   
      988. > int ssl_clear_bad_session(SSL *s)
      989.   	{
      990.   	if (	(s->session != NULL) &&

ssl/ssl_sess.c:994:3: Call
      992.   		!(SSL_in_init(s) || SSL_in_before(s)))
      993.   		{
      994.   		SSL_CTX_remove_session(s->ctx,s->session);
               ^
      995.   		return(1);
      996.   		}

ssl/ssl_sess.c:672:1: Parameter `ctx->sessions->num_items`
        670.   	}
        671.   
        672. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        673.   {
        674.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:674:9: Call
        672.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        673.   {
        674.   	return remove_session_lock(ctx, c, 1);
                       ^
        675.   }
        676.   

ssl/ssl_sess.c:677:1: Parameter `ctx->sessions->num_items`
          675.   }
          676.   
          677. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          678.   	{
          679.   	SSL_SESSION *r;

ssl/ssl_sess.c:688:6: Call
          686.   			{
          687.   			ret=1;
          688.   			r=lh_SSL_SESSION_delete(ctx->sessions,c);
                      ^
          689.   			SSL_SESSION_list_remove(ctx,c);
          690.   			}

crypto/lhash/lhash.c:217:1: <LHS trace>
215.   	}
216.   
217. > void *lh_delete(_LHASH *lh, const void *data)
218.   	{
219.   	unsigned long hash;

crypto/lhash/lhash.c:217:1: Parameter `lh->num_items`
            215.   	}
            216.   
            217. > void *lh_delete(_LHASH *lh, const void *data)
            218.   	{
            219.   	unsigned long hash;

crypto/lhash/lhash.c:240:2: Binary operation: (0 - 1):unsigned64 by call to `SSL_new` 
            238.   		}
            239.   
            240.   	lh->num_items--;
                    ^
            241.   	if ((lh->num_nodes > MIN_NODES) &&
            242.   		(lh->down_load >= (lh->num_items*LH_LOAD_MULT/lh->num_nodes)))
