Fix misplaced break into switch

This commit is contained in:
Grégory Soutadé 2021-07-06 20:52:43 +02:00
parent e4a7874cfb
commit c85db73583

View File

@ -244,8 +244,8 @@ void* DRMProcessorClientImpl::AESEncryptInit(CHAINING_MODE chaining,
break; break;
default: default:
EXCEPTION(gourou::CLIENT_BAD_CHAINING, "Unknown chaining mode " << chaining); EXCEPTION(gourou::CLIENT_BAD_CHAINING, "Unknown chaining mode " << chaining);
break;
} }
break;
default: default:
EVP_CIPHER_CTX_free(ctx); EVP_CIPHER_CTX_free(ctx);
EXCEPTION(gourou::CLIENT_BAD_KEY_SIZE, "Invalid key size " << keyLength); EXCEPTION(gourou::CLIENT_BAD_KEY_SIZE, "Invalid key size " << keyLength);