Use a new signed int ii instead of j (which is unsigned) to handle the return value from sk_SSL_CIPHER_find().