Browse Source

We are not in python any more, Toto

pull/992/head
Hamish Coleman 3 years ago
parent
commit
a00aa63dd7
  1. 3
      src/transform_aes.c
  2. 3
      src/transform_cc20.c
  3. 3
      src/transform_speck.c
  4. 3
      src/transform_tf.c

3
src/transform_aes.c

@ -41,10 +41,11 @@ static int transop_deinit_aes (n2n_trans_op_t *arg) {
transop_aes_t *priv = (transop_aes_t *)arg->priv; transop_aes_t *priv = (transop_aes_t *)arg->priv;
if(priv) if(priv) {
if(priv->ctx) if(priv->ctx)
aes_deinit(priv->ctx); aes_deinit(priv->ctx);
free(priv); free(priv);
}
return 0; return 0;
} }

3
src/transform_cc20.c

@ -33,10 +33,11 @@ static int transop_deinit_cc20 (n2n_trans_op_t *arg) {
transop_cc20_t *priv = (transop_cc20_t *)arg->priv; transop_cc20_t *priv = (transop_cc20_t *)arg->priv;
if(priv) if(priv) {
if(priv->ctx) if(priv->ctx)
cc20_deinit(priv->ctx); cc20_deinit(priv->ctx);
free(priv); free(priv);
}
return 0; return 0;
} }

3
src/transform_speck.c

@ -33,10 +33,11 @@ static int transop_deinit_speck (n2n_trans_op_t *arg) {
transop_speck_t *priv = (transop_speck_t *)arg->priv; transop_speck_t *priv = (transop_speck_t *)arg->priv;
if(priv) if(priv) {
if(priv->ctx) if(priv->ctx)
speck_deinit(priv->ctx); speck_deinit(priv->ctx);
free(priv); free(priv);
}
return 0; return 0;
} }

3
src/transform_tf.c

@ -41,10 +41,11 @@ static int transop_deinit_tf (n2n_trans_op_t *arg) {
transop_tf_t *priv = (transop_tf_t *)arg->priv; transop_tf_t *priv = (transop_tf_t *)arg->priv;
if(priv) if(priv) {
if(priv->ctx) if(priv->ctx)
tf_deinit(priv->ctx); tf_deinit(priv->ctx);
free(priv); free(priv);
}
return 0; return 0;
} }

Loading…
Cancel
Save