Is it considered that a shared secret of Diffie-Hellman with a private and public key of the same pair is less secure?

If the public and private keys are of the same pair, does this significantly affect the security of the secret produced?

Thank you!