mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed asserts left in packet-parse that would be triggered by the new cleaning code in openpgp-sdk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6383 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0266329dc8
commit
37854a4697
@ -959,7 +959,8 @@ void ops_pk_session_key_free(ops_pk_session_key_t *sk)
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
fprintf(stderr,"ops_pk_session_key_free: Unknown algorithm: %d \n",sk->algorithm);
|
||||
//assert(0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -994,7 +995,8 @@ void ops_public_key_free(ops_public_key_t *p)
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
fprintf(stderr,"ops_public_key_free: Unknown algorithm: %d \n",p->algorithm);
|
||||
//assert(0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1030,7 +1032,8 @@ void ops_public_key_copy(ops_public_key_t *dst,const ops_public_key_t *src)
|
||||
// break;
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
fprintf(stderr,"ops_public_key_copy: Unknown algorithm: %d \n",src->algorithm);
|
||||
//assert(0);
|
||||
}
|
||||
}
|
||||
/**
|
||||
@ -1302,7 +1305,8 @@ void ops_signature_free(ops_signature_t *sig)
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
fprintf(stderr,"ops_signature_free: Unknown algorithm: %d \n",sig->info.key_algorithm);
|
||||
//assert(0);
|
||||
}
|
||||
free(sig->info.v4_hashed_data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user