1- // Copyright (c) 2023-2024. NetFoundry Inc.
1+ // Copyright (c) 2023-2026. NetFoundry Inc
22//
3- // Licensed under the Apache License, Version 2.0 (the "License");
4- // you may not use this file except in compliance with the License.
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
56//
6- // You may obtain a copy of the License at
7- // https://www.apache.org/licenses/LICENSE-2.0
7+ // https://www.apache.org/licenses/LICENSE-2.0
88//
9- // Unless required by applicable law or agreed to in writing, software
10- // distributed under the License is distributed on an "AS IS" BASIS,
11- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12- // See the License for the specific language governing permissions and
13- // limitations under the License.
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
1414
1515#include <assert.h>
1616#include <stdlib.h>
@@ -470,10 +470,8 @@ int parse_enrollment_jwt(const char *token, ziti_enrollment_jwt_header *zejh, zi
470470 }
471471 free (body );
472472
473- * dot2 = 0 ;
474473 ZITI_LOG (DEBUG , "jwt signature is: %s" , dot2 + 1 );
475474 tlsuv_base64url_decode (dot2 + 1 , sig , sig_len );
476475
477-
478476 return ZITI_OK ;
479477}
0 commit comments