Changes

1 byte added ,  06:35, 14 October 2020
Fixed a typo in the code where the first parameter's name in is_a_valid_disc was tmd, while it was always referred to as stmd.
Line 37: Line 37:  
}
 
}
   −
int is_a_valid_disc(struct signed_tmd tmd, char *disc_hash) {
+
int is_a_valid_disc(struct signed_tmd stmd, char *disc_hash) {
 
   if(verify_tmd(stmd) == SIG_BAD) {
 
   if(verify_tmd(stmd) == SIG_BAD) {
 
     return DISC_BAD;
 
     return DISC_BAD;
5,579

edits