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


apps/s_client.c:1173:7: Call
1171.   
1172.   	SSL_CTX_set_verify(ctx,verify,verify_callback);
1173.   	if (!set_cert_key_stuff(ctx,cert,key, NULL))
              ^
1174.   		goto end;
1175.   

apps/s_cb.c:258:6: Call
  256.   	if (cert ==  NULL)
  257.   		return 1;
  258.   	if (SSL_CTX_use_certificate(ctx,cert) <= 0)
              ^
  259.   		{
  260.   		BIO_printf(bio_err,"error setting certificate\n");

ssl/ssl_rsa.c:406:9: Call
    404.   		return(0);
    405.   		}
    406.   	return(ssl_set_cert(ctx->cert, x));
                   ^
    407.   	}
    408.   

ssl/ssl_rsa.c:414:7: Call
      412.   	int i;
      413.   
      414.   	pkey=X509_get_pubkey(x);
                   ^
      415.   	if (pkey == NULL)
      416.   		{

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:1217:6: Call
1215.   #endif
1216.   
1217.   	con=SSL_new(ctx);
             ^
1218.   	if (sess_in)
1219.   		{

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

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

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

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

ssl/ssl_sess.c:975:1: Parameter `s->ctx->sessions->num_items`
      973.   	}
      974.   
      975. > int ssl_clear_bad_session(SSL *s)
      976.   	{
      977.   	if (	(s->session != NULL) &&

ssl/ssl_sess.c:981:3: Call
      979.   		!(SSL_in_init(s) || SSL_in_before(s)))
      980.   		{
      981.   		SSL_CTX_remove_session(s->ctx,s->session);
               ^
      982.   		return(1);
      983.   		}

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

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

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

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

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)))
