* SSL_get_ex_data_X509_STORE_CTX_idx (ssl/ssl_cert.c). * That function uses locking, so we don't (usually) * have to worry about locking here. For the whole cruel * truth, see crypto/ex_data.c */ if(CRYPTO_get_ex_new_index(x509_store_ctx_num, &x509_store_ctx_method, argl, argp, new_func, dup_func, free_func) < 0) return -1; return (x509_store_ctx_num++);
* SSL_get_ex_data_X509_STORE_CTX_idx (ssl/ssl_cert.c). */ return CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509_STORE_CTX, argl, argp, new_func, dup_func, free_func);
int X509_STORE_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,	     CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)	{	/* This function is (usually) called only once, by	 * SSL_get_ex_data_X509_STORE_CTX_idx (ssl/ssl_cert.c).	 * That function uses locking, so we don't (usually)	 * have to worry about locking here. For the whole cruel	 * truth, see crypto/ex_data.c */	if(CRYPTO_get_ex_new_index(x509_store_ctx_num, &x509_store_ctx_method,			argl, argp, new_func, dup_func, free_func) < 0)		return -1;	return (x509_store_ctx_num++);	}