You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
/**
static char buf[5];
char *ret;
- if (NULL == cp ||
- NULL == &cp->pid.public_key){
+ if ((NULL == cp) ||
+ (NULL == &cp->pid.public_key))
return "NULL";
- }
+
ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&cp->pid.public_key);
- if (NULL == ret){
+ if (NULL == ret)
return "NULL";
- }
+
strncpy (buf,
ret,