File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -367,19 +367,18 @@ PHP_FUNCTION(jwt_encode)
367367 /* check algorithm */
368368 jwt -> alg = jwt_str_alg (alg );
369369
370- printf ("%d\n" , jwt -> alg );
371-
372370 if (jwt -> alg == JWT_ALG_INVAL ) {
373371 zend_throw_exception (zend_ce_exception , "Algorithm not supported" , 0 );
374372 goto encode_done ;
375373 }
376374
377- printf ("%s\n" , "=====" );
378-
379375 /* set expiration and not before */
380376 jwt_options -> expiration = jwt_hash_str_find_long (claims , "exp" );
377+ printf ("%s\n" , "1" );
381378 jwt_options -> not_before = jwt_hash_str_find_long (claims , "nbf" );
379+ printf ("%s\n" , "2" );
382380 jwt_options -> iat = jwt_hash_str_find_long (claims , "iat" );
381+ printf ("%s\n" , "3" );
383382
384383 /* init */
385384 array_init (& header );
You can’t perform that action at this time.
0 commit comments