Check sk_SSL_CIPHER_num() after assigning sk.